<div class="clsBanner">
	<h3>Encuentre el hogar de sus sueños</h3>
	<p>
		ClickInmobiliario.com es el lugar para empezar tu b&uacute;squeda de inmuebles, 
		ya sea para comprar o vender. Tenemos las herramientas que necesitas para 
		tomar una decisi&oacute;n correcta.
	</p>
	<p class="click"><a href="<?php echo $this->url(array('controller' => 'search')); ?>">Buscar</a></p>
</div>

<div class="Content clearfix">
		
	<div class="Sidebar">
	
		<div class="roundedBox">	
			<div class="block">
	    		<div class="tb">
	    			<div class="rb">
	    				<div class="bb">
	    					<div class="lb">
	    						<div class="tlc">
	    							<div class="trc">
	    								<div class="blc">
	    									<div class="brc">
	                            				<h4>B&uacute;squeda por c&oacute;digo</h4>
	                            				<div class="codeSearch">
	                            					<form enctype="application/x-www-form-urlencoded" action="<?php echo $this->url(array('controller' => 'search', 'action' => 'code')) ?>" method="post">			
	                                                    <img class="image" src="/img/search.png" alt="search" />
	                                                    <input type="text" id="searchByCode" name="code" />
	                                                    <input type="submit" class="submit" value="Buscar" />
	                                                </form>
	                                            </div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>                                                               
	    			</div>
	    		</div>
	    	</div>
	    </div>
	    
		<div class="roundedBox">	
			<div class="block">
	    		<div class="tb">
	    			<div class="rb">
	    				<div class="bb">
	    					<div class="lb">
	    						<div class="tlc">
	    							<div class="trc">
	    								<div class="blc">
	    									<div class="brc">
	                            				<h4>B&uacute;squeda r&aacute;pida</h4>
	                            				<div class="quickSearch">
	                            					<form enctype="application/x-www-form-urlencoded" action="<?php echo $this->url(array('controller' => 'property', 'action' => 'search')) ?>" method="post">			
	                                					<p>                                						
	                                						<label for="location" id="lblLocation">Lugar:</label>                            							
	                            							<select name="location" id="location">
	                            								<?php foreach ($this->locations as $location) : ?>
	                            									<option value="<?=(int)$location->id ?>">
	                            										<?=$this->escape($location->name) ?>
	                            									</option>
	                            								<?php endforeach ?>
	                            							</select>              							
	                            						</p>
	                                					<p>                                						
	                                						<label for="type" id="lblType">Tipo de inmueble:</label>                            							
	                            							<select name="type" id="type">
	                            								<?php foreach ($this->types as $type) : ?>
	                            									<option value="<?=(int)$type->id ?>">
	                            										<?=$this->escape($type->name) ?>
	                            									</option>
	                            								<?php endforeach ?>
	                            							</select>                            							
	                            						</p>
	                            						<p>
															<label for="operation" id="lblOperation">Operacion:</label>
	                            							<select name="operation" id="operation">
	                            								<?php foreach ($this->operations as $id => $name) : ?>
	                            									<option value="<?=$id ?>">
	                            										<?=$this->escape($name) ?>
	                            									</option>
	                            								<?php endforeach ?>	                            							
	                            							</select>                            						
	                            						</p>
	                            						<p>                            							
	                            							<label for="fromPrice" id="lblFromPrice">Rango de precio:</label>
	                            							<input type="text" name="fromPrice" id="fromPrice" value="" size="30" />
	                            							<label for="toPrice" id="lblToPrice">a</label>
	                            							<input type="text" name="toPrice" id="toPrice" value="" size="30" />
	                            						</p>                            						
	                            						<p>
	                        								<label for="currency" id="lblCurrency">Moneda:</label>
	                                            			<input name="currency" id="currencyUS" checked="checked" value="USD" type="radio" /><span>u$s</span>
	                                            			<input name="currency" id="currencyARG" checked="checked" value="ARS" type="radio" /><span>$</span>                            						
	                            						</p>	                            						
	                        							<p class="searchButton"><input type="submit" name="submitSearch" id="submitSearch" value="Buscar" class="submit" /></p>
	                                                </form>
	                                            </div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>                                                               
	    			</div>
	    		</div>
	    	</div>
	    </div>
		
	
	</div>
	
	<div class="Main">
		<div id="map"></div>    
	</div>
</div>